package exception.tx;

import javax.ejb.ApplicationException;


@ApplicationException(rollback=true)
public class DishNamingConflictException extends Exception{
    public DishNamingConflictException() {}
    public DishNamingConflictException(String message) {
        super(message);
    }

    @Override
    public String toString() {
        return "Dish name must be unique!";
    }
    
}
